<%--
  Created by IntelliJ IDEA.
  User: teacher
  Date: 2023/10/23
  Time: 9:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" import="java.util.*" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--<jsp:forward page="findAll"/>--%>
<%
    for(int i = 0; i < 10; i++){
        out.print("<h2>Hello JSP</h2>");
    }
%>
<%
    for(int i = 0; i < 5; i++){
%>
<h2 style="color:red;">Hello World</h2>
<%
    }
%>
<h2>赋值操作</h2>
id:<%=2%>
id:2<br>
应用名:<%=request.getContextPath()%>
<%!
    // 全局定义,定义全局变量
    int i = 1;
%>
</body>
</html>
